<?php
namespace Admin\Controller;
class IndexController extends CommonController {
	
    /**
     * 后台首页
     * http://127.0.0.1/test/index.php/index/index
     */
    public function index() {
    	dump(session());
		echo '这是首页！';
    }
    
    /**
     * 测试页面
     * http://127.0.0.1/test/index.php/index/test
     */
    public function test() {
    	echo MODULE_NAME.'<br/>';
    	echo CONTROLLER_NAME.'<br/>';
    	echo ACTION_NAME.'<br/>';
    	echo '测试页面';
    }
}